testsuite: Add a repeat node test case
authorTimm Bäder <mail@baedert.org>
Sat, 10 Aug 2019 12:47:02 +0000 (14:47 +0200)
committerTimm Bäder <mail@baedert.org>
Sun, 11 Aug 2019 07:05:31 +0000 (09:05 +0200)
testsuite/gsk/compare/repeat.node [new file with mode: 0644]
testsuite/gsk/compare/repeat.png [new file with mode: 0644]
testsuite/gsk/meson.build

diff --git a/testsuite/gsk/compare/repeat.node b/testsuite/gsk/compare/repeat.node
new file mode 100644 (file)
index 0000000..65c5b02
--- /dev/null
@@ -0,0 +1,13 @@
+repeat {
+  child: container {
+    color {
+      color: red;
+      bounds: 0 0 25 25;
+    }
+    color {
+      color: blue;
+      bounds: 25 25 25 25;
+    }
+  }
+  bounds: 0 0 100 100;
+}
diff --git a/testsuite/gsk/compare/repeat.png b/testsuite/gsk/compare/repeat.png
new file mode 100644 (file)
index 0000000..4062bd5
Binary files /dev/null and b/testsuite/gsk/compare/repeat.png differ
index 70cda53e15d620fd4de2cb8649e36aeba6bac4b8..e2e0494ca48ecba2a0ac926fb07de7bf0af1fe87 100644 (file)
@@ -57,6 +57,7 @@ compare_render_tests = [
   'clip-nested1',
   'scale-up-down',
   'opacity-overlapping-children',
+  'repeat',
 ]
 
 # these are too sensitive to differences in the renderers